package com.tlias.service;


import com.tlias.pojo.Emp;
import com.tlias.pojo.PageBean;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;

public interface EmpService {

    PageBean page(Integer page, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);

    //删除
    void delete(List<Integer> ids);

    //添加
    void addEmp(Emp emp);

    //修改
    void updateEmp(Emp emp);

    //id查询
    Emp findEmp(Integer id);
}
